from django.urls import path
from .views import *

urlpatterns = [
    path('gatherings/', GatheringModelViewSet.as_view(
        {'get': 'list'}
    )),
    path('gatherings/<int:pk>/', GatheringModelViewSet.as_view(
        {'get': 'retrieve'}
    )),
    path('gatherings/<int:pk>/join/', GatheringJoinView.as_view()),

]
